package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 商品详情
 */
@Entity
@Table
public class CommodityDetail implements Serializable{
	private static final long serialVersionUID = 5340170650096409688L;
	private Integer code;				//流水号
	private Integer cc;					//商品编号
	private String content;				//商品详情
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Integer getCc() {
		return cc;
	}
	@Column(length = 10000)
	public String getContent() {
		return content;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setCc(Integer cc) {
		this.cc = cc;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
}
